import request from '@/utils/request'
import {Message } from 'element-ui'
import { error } from 'util'
// 获取账户list
export function getAccountsList(data, succCb) {
  return request({
    url: 'accounts/',
    method: 'get',
    params: data
  }).then(res => {
    succCb(res)
  }).catch(() => {
    console.log('getAccountsList-->>')
  })
}
